package net.apexes.demo.codegen.dslite.entity;


/**
 * Feature. the database table "FEATURE"
 */
public class Feature extends net.apexes.demo.codegen.entity.base.EntityBase {

    private static final long serialVersionUID = 1L;

    /**
     * NAME
     */
    private String name;

    /**
     * SEQ_ORDER
     */
    private Integer seqOrder;

    /**
     * FEATURE_GROUP_ID
     */
    private String featureGroupId;

    /**
     * TEMPLATE_ID
     */
    private String templateId;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSeqOrder() {
        return seqOrder;
    }

    public void setSeqOrder(Integer seqOrder) {
        this.seqOrder = seqOrder;
    }

    public String getFeatureGroupId() {
        return featureGroupId;
    }

    public void setFeatureGroupId(String featureGroupId) {
        this.featureGroupId = featureGroupId;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public void cloneFrom(Feature from) {
        this.name = from.name;
        this.seqOrder = from.seqOrder;
        this.featureGroupId = from.featureGroupId;
        this.templateId = from.templateId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(super.toString());
        sb.append(",name=").append(name);
        sb.append(",seqOrder=").append(seqOrder);
        sb.append(",featureGroupId=").append(featureGroupId);
        sb.append(",templateId=").append(templateId);
        return sb.toString();
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

}

